<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>onlineImageAccess</title>
</head>
<body>
<div id="result">gitee</div>
<img src="https://consumer.huawei.com/content/dam/huawei-cbg-site/cn/mkt/pdp/tablets/matepad-pro-11-2024/assets/imgs/pc/huawei-matepad-11-inch-Huawei-sound.png"
     alt="gitee" id="gitee">
<script>
    let ele = document.getElementById('gitee');
    let loadImage;
    ele.onload = function () {
        loadImage = 'load image complete';
    };
    function getImageLoadResult() {
        return loadImage;
    }
</script>
</body>
</html>